{template header.html}
    <!--Header-->
    <!--内页banner 面包屑 开始-->
    <div class="ny_banner" style="background-image: url({dr_get_file($anliyebanner)});">
      <div class="baloea">
        <div class="mauto">
          <div class="baloea_title">{usu_fanyi('Case', $language)}</div>
          <div class="lboae">
            <ul>
              <li>
                <i class="iconfont">&#xe688;</i>
                <a href="/">Home</a></li>
                {if $dirname}
                <li>></li>
                <li>
                  <a href="{$dirurl}">{usu_fanyi($dirname, $language)}</a>
                </li>
                {/if}
                <li>></li>
                <li>
                    <a href="{$cat['url']}">{usu_fanyi($cat['name'],$language)}</a>
                </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <!--内页banner 面包屑 结束-->
    <!--Main-->
    <main hsm="fadeup">
      <div class="main_con">
        <div class="mauto">
          <div class="case_list">
            <ul>
              {module module=news catid=$catid page=1}
              <li>
                <a href="{$t.url}">
                  <div class="img">
                    <img src="{dr_get_file($t['thumb'])}" data-src="{dr_get_file($t['thumb'])}" alt="{usu_fanyi($t.title, $language)}"></div>
                  <div class="info">
                    <h3>{usu_fanyi($t.title, $language)}</h3>
                    <div class="txt">
                      {usu_fanyi(dr_strcut($t.description, 40), $language)}
                    </div>
                    
                  </div>
                </a>
              </li>
              {/module}
            </ul>
            <!--分页-->
            <div class="pagination-bar">
              <ul>
                {if $page!=1}
                <li ><a href="{str_replace('{page}', min($page-1, 1), $pagerule)}"><<</a></li>
                <li><a href="{str_replace('{page}', min($page-1, $nums), $pagerule)}">{$page-1}</a></li>
                {/if}
                <li class="active"><span>{$page}</span></li>
                {if $nums > 1 & $nums > $page}
                <li><a href="{str_replace('{page}', min($page+1, $nums), $pagerule)}">{$page+1}</a></li>
                    {if $nums > 2 & $nums > $page+1}
                    <li><a href="{str_replace('{page}', min($page+2, $nums), $pagerule)}">{$page+2}</a></li>
                    {/if}
                {/if}
                {if $page!=$nums && $nums!=1}
                <li ><a href="{str_replace('{page}', min($nums, $nums), $pagerule)}">>></a></li>
                {/if}
              </ul>
            </div>
            <!--分页-->
            </div>
        </div>
        <!--询盘模块-->
        {template nav_contact.html}
            <!--询盘模块-->
      </div>
    </main>
    <!--Footer-->
    {template footer.html}